﻿namespace Arms.Persistence.Modules.Geography.Mappings
{
    using Arms.Domain.Modules.Geography;
    using System;

    internal class ProvinceMap : PointBaseMap<Province>
    {
        public ProvinceMap()
            : base()
        {
            HasMany(x => x.Cities).WithRequired(x => x.Province).HasForeignKey(x => x.ProvinceID);
        }
    }
}
